Serial attached SCSI

Technical specifications
Serial Attached SCSI
Performance Full-duplex with link aggregation (4-ports wide at 24 Gbit/s)
3.0 Gbit/s at introduction, 6.0 Gbit/s available February 2009
Connectivity 10 m external cable
255 device port expanders (>65k total devices)
SAS-to-SATA compatibility
Availability Dual-port HDDs
Multi-initiator point-to-point
Driver Software-transparent with SCSI

Serial Attached SCSI (SAS) is a computer bus used to move data to and from computer storage devices such as hard drives and tape drives. SAS depends on a point-to-point serial protocol that replaces the parallel SCSI bus technology that first appeared in the mid 1980s in data centers and workstations, and it uses the standard SCSI command set. SAS offers backwards-compatibility with second-generation SATA drives. SATA 3 Gbit/s drives may be connected to SAS backplanes, but SAS drives may not be connected to SATA backplanes.

The T10 technical committee of the International Committee for Information Technology Standards (INCITS) develops and maintains the SAS protocol; the SCSI Trade Association (SCSITA) promotes the technology.

Contents

Introduction

A typical Serial Attached SCSI system consists of the following basic components:

  1. An Initiator: a device that originates device-service and task-management requests for processing by a target device and receives responses for the same requests from other target devices. Initiators may be provided as an on-board component on the motherboard (as is the case with many server-oriented motherboards) or as an add-on host bus adapter.
  2. A Target: a device containing logical units and target ports that receives device service and task management requests for processing and sends responses for the same requests to initiator devices. A target device could be a hard disk or a disk array system.
  3. A Service Delivery Subsystem: the part of an I/O system that transmits information between an initiator and a target. Typically cables connecting an initiator and target with or without expanders and backplanes constitute a service delivery subsystem.
  4. Expanders: devices that form part of a service delivery subsystem and facilitate communication between SAS devices. Expanders facilitate the connection of multiple SAS End devices to a single initiator port.

Identification and addressing

A SAS Domain is the SAS version of a SCSI domain—it consists of a set of SAS devices that communicate with one another by means of a service delivery subsystem. Each SAS port in a SAS domain has a SCSI port identifier that identifies the port uniquely within the SAS domain. It is assigned by the device manufacturer, like an Ethernet device's MAC address, and is typically world-wide unique as well. SAS devices use these port identifiers to address communications to each other.

In addition, every SAS device has a SCSI device name, which identifies the SAS device uniquely in the world. One doesn't often see these device names because the port identifiers tend to identify the device sufficiently.

For comparison, in parallel SCSI, the SCSI ID is the port identifier and device name. In fibre channel, the port identifier is a WWPN and the device name is a WWNN.

In SAS, both SCSI port identifiers and SCSI device names take the form of a SAS address, which is a 64 bit value, normally in the NAA IEEE Registered format. People sometimes call a SAS address a World Wide Name or WWN, because it is essentially the same thing as a WWN in fibre channel.

Comparison with parallel SCSI

Comparison with SATA

Characteristics

Technical details

The Serial Attached SCSI standard defines several layers (in order from highest to lowest):

Serial Attached SCSI comprises three transport protocols:

For the Link and PHY layers, SAS defines its own unique protocol.

At the physical layer, the SAS standard defines connectors and voltage levels. The physical characteristics of the SAS wiring and signaling are compatible with and have loosely tracked that of SATA up to the present 6 Gbit/s rate, although SAS defines more rigorous physical signaling specifications as well as a wider allowable differential voltage swing intended to support longer cabling. While SAS-1.0/SAS-1.1 adopted the physical signaling characteristics of SATA at the 1.5 Gbit/s and 3 Gbit/s rates, SAS-2.0 development of a 6 Gbit/s physical rate led the development of an equivalent SATA speed. According to the SCSI Trade Association, 12 Gbit/s is slated to follow 6 Gbit/s in a future SAS-3.0 specification.

Architecture

SAS architecture consists of six layers

Topology

An initiator may connect directly to a target via one or more PHYs (such a connection is called a port whether it uses one or more PHYs, although the term wide port is sometimes used for a multi-PHY connection).

SAS Expanders

The components known as Serial Attached SCSI Expanders (SAS Expanders) facilitate communication between large numbers of SAS devices. Expanders contain two or more external expander-ports. Each expander device contains at least one SAS Management Protocol target port for management and may contain SAS devices itself. For example, an expander may include a Serial SCSI Protocol target port for access to a peripheral device. An expander is not necessary to interface a SAS initiator and target but allows a single initiator to communicate with more SAS/SATA targets. A useful analogy: one can regard an expander as akin to a network switch in a network which allows multiple systems to be connected using a single switch port.

SAS 1 defined two different types of expander; however, the SAS-2.0 standard has dropped the distinction between the two, as it created unnecessary topological limitations with no realized benefit:

Direct routing allows a device to identify devices directly connected to it. Table routing identifies devices connected to the expanders connected to a device's own PHY. Subtractive routing is used when you are not able to find the devices in the sub-branch you belong to. This will pass the request to a different branch altogether.

Expanders exist to allow more complex interconnect topologies. Expanders assist in link-switching (as opposed to packet-switching) end-devices (initiators or targets). They may locate an end-device either directly (when the end-device is connected to it), via a routing table (a mapping of end-device IDs and the expander the link should be switched to downstream to route towards that ID), or when those methods fail, via subtractive routing: the link is routed to a single expander connected to a subtractive routing port. If there is no expander connected to a subtractive port, the end-device cannot be reached.

Expanders with no PHYs configured as subtractive act as fanout expanders and can connect to any number of other expanders. Expanders with subtractive PHYs may only connect to two other expanders at a maximum, and in that case they must connect to one expander via a subtractive port and the other via a non-subtractive port.

SAS-1.1 topologies built with expanders will generally contain one root node in a SAS domain with the one exception case being topologies that contain two expanders connected via a subtractive-to-subtractive port. If it exists, the root node is the expander which is not connected to another expander via a subtractive port. Therefore, if a fanout expander exists in the configuration, it must be the domain's root node. The root node contains routes for all end devices connected to the domain. Note that with the advent in SAS-2.0 of table-to-table routing and new rules for end-to-end zoning, more complex topologies built upon SAS-2.0 rules will not contain a single root node.

Connectors

The SAS connector is much smaller than traditional parallel SCSI connectors, allowing for the small 2.5-inch (64 mm) drives. SAS currently supports point data transfer speeds up to 6 Gbit/s, but is expected to reach 12 Gbit/s by the year 2012.

The physical SAS connector comes in several different variants:[1]

Image Codename Other names Ext./int. No of pins No of devices Comment
SFF-8482 Internal 29 1 This form factor is designed for compatibility with SATA. The socket is compatible with SATA drives; however, the SATA socket is not compatible with SFF-8482 (SAS) drives. The pictured connector is a drive-side connector.
SFF-8484 Internal 32 (19) 4 (2) Hi-density internal connector, 2 and 4 lane versions are defined by the SFF standard.
SFF-8485 Defines SGPIO (extension of SFF 8484), a serial link protocol used usually for LED indicators.
SFF-8470 Infiniband connector, Molex LaneLink™ External 32 4 Hi-density external connector (also used as an internal connector).
SFF-8086 Internal mini-SAS, internal mSAS Internal 26 4 Note: very similar to the SFF-8087 (below) but less common.[2]
SFF-8087 Internal mini-SAS, internal mSAS Internal 36 4 Molex iPass™ reduced width internal 4× connector with future 10 Gbit/s support.
SFF-8088 External mini-SAS, external mSAS External 26 4 Molex iPass™ reduced width external 4× connector with future 10 Gbit/s support.

Nearline SAS

Nearline SAS or NL-SAS drives are enterprise SATA drives with a SAS interface, head, media, and rotational speed of traditional enterprise-class SATA drives with the fully capable SAS interface typical for classic SAS drives. System and storage vendors like Dell, EMC, Fujitsu, and IBM are offering these disks for SAN arrays, NAS solutions, and server systems.

They feature the following benefits compared to SATA:[3]

To summarize: Nearline SAS drives are simply big, cheap, and slow SAS drives targeted toward nearline storage.

See also

References

  1. ^ SFF Committee specifications
  2. ^ "PC Pitstop". http://www.pc-pitstop.com/sas_cables_adapters/sff-8087/. 
  3. ^ Desktop, Nearline & Enterprise Disk Drives page 20, SATA Compared to SAS (snia education, talk by Willis Whittington, Seagate Technology)

External links